import request from '@/utils/request'
const api_name = '/services_video/author'
export default {
  authorWebList(page, limit) {
    return request({
      url: `${api_name}/pageList/${page}/${limit}`,
      method: 'post',
      headers: {
        'Content-Type': 'application/json'
      }
    })
  },

  //获取作者的信息  个人信息与作品信息
  getAuthorById(authorId) {
    return request({
      url: `${api_name}/getAuthorWithId/${authorId}`,
      method: 'get'
    })
  }

}
